<HTML>
<HEAD>
<!-- Created by texi2html 1.56k from ffplay-doc.texi on 16 September 2003 -->

<TITLE>FFplay Documentation</TITLE>
</HEAD>
<BODY>
<H1>FFplay Documentation</H1>
<P>
<P><HR><P>
<H1>Table of Contents</H1>
<UL>
<LI><A NAME="TOC1" HREF="ffplay-doc.html#SEC1">1. Introduction</A>
<LI><A NAME="TOC2" HREF="ffplay-doc.html#SEC2">2. Invocation</A>
<UL>
<LI><A NAME="TOC3" HREF="ffplay-doc.html#SEC3">2.1 Syntax</A>
<LI><A NAME="TOC4" HREF="ffplay-doc.html#SEC4">2.2 Main options</A>
<LI><A NAME="TOC5" HREF="ffplay-doc.html#SEC5">2.3 Advanced options</A>
<LI><A NAME="TOC6" HREF="ffplay-doc.html#SEC6">2.4 While playing</A>
</UL>
</UL>
<P><HR><P>

<P>
FFplay Documentation




<H1><A NAME="SEC1" HREF="ffplay-doc.html#TOC1">1. Introduction</A></H1>

<P>
FFplay is a very simple and portable media player using the FFmpeg
libraries and the SDL library. It is mostly used as a test bench for the
various APIs of FFmpeg.




<H1><A NAME="SEC2" HREF="ffplay-doc.html#TOC2">2. Invocation</A></H1>



<H2><A NAME="SEC3" HREF="ffplay-doc.html#TOC3">2.1 Syntax</A></H2>

<PRE>
ffplay [options] <TT>`input_file'</TT>
</PRE>



<H2><A NAME="SEC4" HREF="ffplay-doc.html#TOC4">2.2 Main options</A></H2>

<DL COMPACT>

<DT><SAMP>`-h'</SAMP>
<DD>
show help
<DT><SAMP>`-x width'</SAMP>
<DD>
force displayed width
<DT><SAMP>`-y height'</SAMP>
<DD>
force displayed height
<DT><SAMP>`-an'</SAMP>
<DD>
disable audio
<DT><SAMP>`-vn'</SAMP>
<DD>
disable video
<DT><SAMP>`-nodisp'</SAMP>
<DD>
disable graphical display
<DT><SAMP>`-f fmt'</SAMP>
<DD>
force format
<DT><SAMP>`-img img_fmt'</SAMP>
<DD>
this option is used to force a given image format
when playing image sequences. Example:

<PRE>
ffplay -img pgmyuv tests/vsynth1/%d.pgm
</PRE>

</DL>



<H2><A NAME="SEC5" HREF="ffplay-doc.html#TOC5">2.3 Advanced options</A></H2>
<DL COMPACT>

<DT><SAMP>`-stats'</SAMP>
<DD>
show the stream duration, the codec parameters, the current position in
the stream, and the audio/video synchronisation drift.
<DT><SAMP>`-rtp_tcp'</SAMP>
<DD>
force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
if you are doing stream with the RTSP protocol.
<DT><SAMP>`-sync type'</SAMP>
<DD>
set the master clock to audio (<CODE>type=audio</CODE>), video
(<CODE>type=video</CODE>) or external (<CODE>type=ext</CODE>). Default is audio. The
master clock is used to control audio-video synchronization. Most media
players use audio as master clock, but in some cases (streaming or high
quality broadcast) it is necessary to change that. This option is mainly
used for debugging purposes.
</DL>



<H2><A NAME="SEC6" HREF="ffplay-doc.html#TOC6">2.4 While playing</A></H2>

<DL COMPACT>

<DT><KBD>q, ESC</KBD>
<DD>
quit

<DT><KBD>f</KBD>
<DD>
toggle full screen

<DT><KBD>p, SPC</KBD>
<DD>
pause

<DT><KBD>a</KBD>
<DD>
cycle audio channel

<DT><KBD>v</KBD>
<DD>
cycle video channel

<DT><KBD>w</KBD>
<DD>
show audio waves
</DL>

<P><HR><P>
This document was generated on 16 September 2003 using
<A HREF="http://wwwinfo.cern.ch/dis/texi2html/">texi2html</A>&nbsp;1.56k.
</BODY>
</HTML>
